package com.abbas.CayTcore.presenter

import com.abbas.CayTcore.base.BasePresenter
import com.abbas.CayTcore.model.CounterResultModel
import com.abbas.CayTcore.view.ViewContract

class CounterResultPresenter: BasePresenter<ViewContract.CounterResultView, CounterResultModel>() {
    override fun initModel(): CounterResultModel = CounterResultModel()

    fun getCore(id: Int){
         model?.getCore(id){
            view?.get()?.onCoreGet(it)
        }
    }

}